-- GENERATED SPELL FOR [Stormforged War Golem] --


function spell0_29380(pUnit, Event) --@Storm Punch,n/a--
pUnit:FullCastSpellOnTarget(56352,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29380', 12000, 1)
end

function Sorts_29380(pUnit, Event)
local choix_sorts_29380 = math.random(0, 0)
if choix_sorts_29380 == 0 then
pUnit:RegisterEvent('spell0_29380', 1, 1)
end
end

function mob29380_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29380', math.random(1500, 3000), 1)
end

function mob29380_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29380_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29380_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29380, 1, 'mob29380_Action')
RegisterUnitEvent(29380, 2, 'mob29380_Leave')
RegisterUnitEvent(29380, 3, 'mob29380_Kill')
RegisterUnitEvent(29380, 4, 'mob29380_Die')
